//
//  SDFeedbackData.m
//  SKinDiary
//
//  Created by pcyang on 16/9/4.
//  Copyright © 2016年 tencent. All rights reserved.
//

#import "SDFeedbackData.h"

@implementation SDFeedbackData
-(NSString*)getFullURL
{
    return [NSString stringWithFormat:@"%@/feedback",[[SDServerSwitchManager sharedInstance] getServerUrl]];
}

-(NSString*)getHTTPMethod
{
    return HTTP_POST_METHOD;
}

-(NSDictionary*) getPostDictionary
{
    NSMutableDictionary* dict = [NSMutableDictionary dictionaryWithCapacity:6];
    [dict setObject:[_content safeString] forKey:@"content"];
    return dict;
}

+(id)modelFromResponseValues:(id)infos error:(NSError**)error
{
    return infos;
}

- (id)resetWithResponseModel:(id)data
{
    if([data isKindOfClass:[NSDictionary class]])
    {
        
    }
    
    return data;
}
@end
